package com.sdzee.beans;

import java.io.Serializable;

import com.sun.jmx.snmp.Timestamp;

public class Evenement implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int   idEvt;
	private int   idUser;
    private String titre;
    private String description;
    private Timestamp dateEvenement;
    private String adresse;
    private String categorie;
    private int   nbParticipantActuel;
	private int   nbParticipantMax;
    private String urlPhotoEvenement;
    private String duree;
    private int   note;
	private int   etat;

    public void setId( int idEvt ) {
        this.idEvt = idEvt;
    }

    public int getId() {
        return idEvt;
    }

    public void setIdUser(int idUser) {
        this.idUser = idUser;
    }

    public int getIdUser() {
        return idUser;
    }

    public void setTitre( String titre ) {
        this.titre = titre;
    }

    public String getTitre() {
        return titre;
    }

    public void setDescription( String description ) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setDateEvt() {
        this.dateEvenement=null;
    }

    public Timestamp getDateEvt() {
        return dateEvenement;
    }

    public void setAdresse( String adresse ) {
        this.adresse = adresse;
    }

    public String getAdresse() {
        return adresse;
    }

    public void setCategorie( String categorie ) {
        this.categorie = categorie;
    }

    public String getCategorie() {
        return categorie;
    }
    public void setNbrPart() {
        this.nbParticipantActuel = 7;
    }

    public int getNbrPart() {
        return nbParticipantActuel;
    }
    public void setNbrPartMax() {
        this.nbParticipantMax = 10;
    }

    public int getNbrPartMax() {
        return nbParticipantMax;
    }
    public void setUrlPhoto() {
        this.urlPhotoEvenement = "urlPhotoEvenement";
    }

    public String getUrlPhoto() {
        return urlPhotoEvenement;
    }
    public void setDuree() {
        this.duree = "3:00";
    }

    public String getDuree() {
        return duree;
    }
    public void setNote() {
        this.note = 4;
    }

    public int getNote() {
        return note;
    }
    public void setEtat() {
        this.etat = 1;
    }

    public int getEtat() {
        return etat;
    }
    
}